forum

home / developersection / forums / java string/regex replace

Java String/Regex Replace

Anonymous User 2269 15-May-2013
Hi!

I'm quite new to regex. Not sure how to do the follow:

Replace ":p_id" with a specific value.

For example when I simply want to replace ":p_id1" with a value, it also replaced ":p_id10" with the same value which is not what I want.

It's also possible for the ":p_id"'s to have punctuation before or after them e.g. "=:p_id1)"

Any advice?
Thanks in advance! 

Updated on 15-May-2013

I am a content writter !


Message
Can you answer this question?

Answer

1 Answers

Liked By